export class ContainerPropsType {
  //集装箱参数
  show: boolean = true; //是否显示
  nodata: boolean = false; //是否无数据
  nodataText?: string = "暂无数据";
  loading: boolean = false; //是否加载中
  hasScroll: boolean = false; //是否有滚动条
}

import { Component, Prop, Vue } from "vue-property-decorator"; // vue组件装饰器
import "spinkit/spinkit.min.css";
const Simplebar =require("simplebar-vue")
import "simplebar/dist/simplebar.min.css";

@Component({
  components: {
    Simplebar,
  },
})
export default class Container extends Vue implements ContainerPropsType {
  @Prop({ default: true })
  show!: boolean; //显示
  @Prop({ default: false })
  nodata!: boolean; //无数据
  @Prop({ default: "暂无数据" })
  nodataText!: string; //无数据文本
  @Prop({ default: false })
  loading!: boolean; //加载中
  @Prop({ default: false })
  hasScroll!: boolean; //是否有滚动条
}
